package com.atguigu.srb.core.service;

import com.atguigu.srb.core.pojo.entity.Lend;
import com.atguigu.srb.core.pojo.entity.vo.BorrowInfoApprovalVO;
import com.atguigu.srb.core.pojo.entity.vo.LendIndexSearchVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 标的准备表 服务类
 * </p>
 *
 * @author Atguigu
 * @since 2022-11-19
 */
public interface LendService extends IService<Lend> {
    public void createLend(BorrowInfoApprovalVO borrowInfoApprovalVO, String borrowId);

    Map<String, Object> getLend(String id);
    public String getStatusString(Integer status);

    List<Lend> getLendsByCondition(LendIndexSearchVO searchVO);

    void makeLoan(String id);
}
